<?php /* Smarty version Smarty-3.1.12, created on 2013-04-25 14:00:04
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/prototypes/creditValue.tpl" */ ?>
<?php /*%%SmartyHeaderCode:112764586851785222346789-73181791%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2f661595234ffc80f3865354bec89673f9b8a192' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/prototypes/creditValue.tpl',
      1 => 1366891196,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '112764586851785222346789-73181791',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_517852223a2133_16955277',
  'variables' => 
  array (
    'creditValue' => 0,
    'textClass' => 0,
    'iconClass' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_517852223a2133_16955277')) {function content_517852223a2133_16955277($_smarty_tpl) {?><style type="text/css">
.text-bronze{
color: peru;
}
.text-silver{
color: silver;
}
.text-gold{
color: gold;
}

</style>

<?php if ($_smarty_tpl->tpl_vars['creditValue']->value<0){?>
	<?php $_smarty_tpl->tpl_vars["textClass"] = new Smarty_variable("text-error", null, 0);?>
	<?php $_smarty_tpl->tpl_vars["iconClass"] = new Smarty_variable("icon-thumbs-down", null, 0);?>
<?php }elseif($_smarty_tpl->tpl_vars['creditValue']->value>=0&&$_smarty_tpl->tpl_vars['creditValue']->value<@BRONZECREDITBORDER){?>
	<?php $_smarty_tpl->tpl_vars["textClass"] = new Smarty_variable('', null, 0);?>
	<?php $_smarty_tpl->tpl_vars["iconClass"] = new Smarty_variable("icon-thumbs-up", null, 0);?>
<?php }elseif($_smarty_tpl->tpl_vars['creditValue']->value>=@BRONZECREDITBORDER&&$_smarty_tpl->tpl_vars['creditValue']->value<@SILVERCREDITBORDER){?>
	<?php $_smarty_tpl->tpl_vars["textClass"] = new Smarty_variable("text-bronze", null, 0);?>
	<?php $_smarty_tpl->tpl_vars["iconClass"] = new Smarty_variable("icon-thumbs-up", null, 0);?>
<?php }elseif($_smarty_tpl->tpl_vars['creditValue']->value>=@SILVERCREDITBORDER&&$_smarty_tpl->tpl_vars['creditValue']->value<@GOLDCREDITBORDER){?>
	<?php $_smarty_tpl->tpl_vars["textClass"] = new Smarty_variable("text-silver", null, 0);?>
	<?php $_smarty_tpl->tpl_vars["iconClass"] = new Smarty_variable("icon-thumbs-up", null, 0);?>
<?php }elseif($_smarty_tpl->tpl_vars['creditValue']->value>=@GOLDCREDITBORDER){?>
	<?php $_smarty_tpl->tpl_vars["textClass"] = new Smarty_variable("text-gold", null, 0);?>
	<?php $_smarty_tpl->tpl_vars["iconClass"] = new Smarty_variable("icon-thumbs-up", null, 0);?>
<?php }?>

<span class="t <?php echo $_smarty_tpl->tpl_vars['textClass']->value;?>
" title="earned Creditpoints: <?php echo $_smarty_tpl->tpl_vars['creditValue']->value;?>
"><i class="<?php echo $_smarty_tpl->tpl_vars['iconClass']->value;?>
"></i><?php echo $_smarty_tpl->tpl_vars['creditValue']->value;?>
</span>
<a href="help.php#WhatIsTheCreditSystem" target="_blank" class="t" title="What is the Credit-System and how does this work? "><i class="icon-question-sign"></i>&nbsp;</a>

<?php }} ?>